package com.ccys.db.vo.userManagement;

import com.ccys.db.entity.TblFavouritePrescriptionDetail;
import com.ccys.db.entity.TblFavouritePrescriptionDetailProduct;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @program: WhiteCoat
 * @description: 分页查询处方详情返回Vo
 * @author: ZhangJingCan
 * @create: 2023-12-22 14:43
 **/

@Data
@ApiModel("分页查询处方详情返回Vo")
public class FavouritePrescriptionDetailPageQueryVo extends TblFavouritePrescriptionDetail {

    @ApiModelProperty(value = "产品名称", name = "productName", example = "产品名称")
    private String productName;

    @ApiModelProperty(value = "产品最小用量单位的id", name = "productUomId")
    private String productUomId;

    @ApiModelProperty(value = "产品最小用量单位的名称", name = "productUomName")
    private String productUomName;

    @ApiModelProperty(value = "药物剂量数量", name = "list", example = "数量，页面叫做：Total QTY")
    private Integer total;

    @ApiModelProperty(value = "药物剂量详细信息", name = "list")
    List<TblFavouritePrescriptionDetailProduct> list;

    @ApiModelProperty(value = "创建人名称", name = "createdByName", example = "创建人名称")
    private String createdByName;

    @ApiModelProperty(value = "0:医生创建 1:后台创建", name = "isDefault")
    private Integer isDefault;

}
